package com.cn.ycy;

import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * 没啥作用
 */
@Component
public class MyListener implements ApplicationListener {

  @Override
  public void onApplicationEvent(ApplicationEvent event) {
    System.out.println("监听 " + event);
  }

}
